package com.sunchen.asc.service.item.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value="办理流程对象",description="办理流程Process")
public class ProcessVo implements Serializable {

    //private Long id;

    @ApiModelProperty(value="绑定事项",name="itemId")
    @NotNull(message = "不能为空")
    private Long itemId;

    @ApiModelProperty(value="办理环节",name="name")
    @NotEmpty(message = "不能为空")
    private String name;

    @ApiModelProperty(value="办理步骤",name="step")
    private String step;

    @ApiModelProperty(value="办理时限",name="limit")
    private String limit;

    @ApiModelProperty(value="办理人员",name="user")
    private String user;

    @ApiModelProperty(value="审查标准",name="standard")
    private String standard;

    @ApiModelProperty(value="送达方式",name="sendType")
    private String sendType;

    @ApiModelProperty(value="办理结果",name="result")
    private String result;

    @ApiModelProperty(value="是否显示审查标准",name="standardFlag")
    @NotNull(message = "不能为空")
    private String standardFlag;

    @ApiModelProperty(value="审查标准显示类型",name="standardType")
    private String standardType;

    @ApiModelProperty(value="0:法律依据,1:处罚依据,2:立案依据,3:核查法律依据;默认0",name="type")
    @NotNull(message = "不能为空")
    private String type;

    @ApiModelProperty(value="排序",name="sortOrder")
    private int sortOrder;

    @ApiModelProperty(value="备注",name="remark")
    private String remark;

    public ProcessVo() {
    }

    public ProcessVo(Long id, Long itemId, String name, String step, String limit, String user, String standard, String sendType, String result, String standardFlag, String standardType, String type, int sortOrder, String remark) {
        //this.id = id;
        this.itemId = itemId;
        this.name = name;
        this.step = step;
        this.limit = limit;
        this.user = user;
        this.standard = standard;
        this.sendType = sendType;
        this.result = result;
        this.standardFlag = standardFlag;
        this.standardType = standardType;
        this.type = type;
        this.sortOrder = sortOrder;
        this.remark = remark;
    }
}
